local extension = Package:new("huixiangzh")
extension.extensionName = "huixiangkill"

extension:loadSkillSkelsByPath("./packages/huixiangkill/pkg/huixiangzh/skills")

Fk:loadTranslationTable{
  ["huixiangzh"] = "朝花",
  ["fhlt"] = "烽火连天",
  ["sy"] = "2022三英",
  ["hxgod"] = "神临",
  ["hxzhaohua"] = "回想·朝花",
}


local huixiangmusic = General:new(extension, "huixiangmusic", "hx_yi", 1,1,General.Female)
huixiangmusic:addSkills{"#hx__doromusic&"}
huixiangmusic.total_hidden = true
Fk:loadTranslationTable{
  ["huixiangmusic"] = "回想",
  ["#huixiangmusic"] = "有时候，听听歌也不错",
  ["cv:huixiangmusic"] = "来自网络",
  ["designer:huixiangmusic"] = "庆思书",
  ["illustrator:huixiangmusic"] = "来自网络",
  ["#hx__doromusic&"] = "自娱自乐",
  [":#hx__doromusic&"] = "doro爆火之后，各类视频常常以此为bgm。",
  ["$#hx__doromusic&"] = "doro~",
}

General:new(extension, "sy__lvbu", "qun", 10):addSkills{"baguan2022", "lvbuwuwei2022", "jinghu2022", "jianju2022", "kaiju2022"}
Fk:loadTranslationTable{
  ["sy__lvbu"] = "吕布",
  ["#sy__lvbu"] = "神威再临",
  ["designer:sy__lvbu"] = "官方",
  ["cv:sy__lvbu"] = "官方",
  ["illustrator:sy__lvbu"] = "官方",
  ["baguan2022"] = "霸关",
  [":baguan2022"] = "锁定技，你的阶段不能被跳过，你不会被翻面。你的摸牌阶段额外摸3张牌。",
  ["lvbuwuwei2022"] = "武威",
  [":lvbuwuwei2022"] = "你使用【杀】或【决斗】可以额外指定两个目标。你的出牌阶段可以多使用两张【杀】。",
  ["#lvbuwuwei2022-choose"] = "武威：你可以为%arg增加至多两个目标",
  ["jinghu2022"] = "惊虎",
  [":jinghu2022"] = "锁定技，你使用【杀】或伤害类锦囊结算完毕后，若只对一个其他角色造成了伤害，该角色再失去1点体力。",
  ["jianju2022"] = "健驹",
  [":jianju2022"] = "锁定技，你与其他角色的距离视为1。第三轮你的回合结束后，从你开始令所有角色依次死亡。<br/><a href=':jianju2022_1v3'>虎牢关2022模式</a>",
  [":jianju2022_1v3"] = "【健驹】锁定技，你与其他角色的距离视为1。第三轮你的回合结束后，你撤离战场。<br/><b>开启双将才会获得【再临】</b>。",
  ["kaiju2022"] = "<font color='gray'>再临</font>",
  [":kaiju2022"] = "<font color='gray'>锁定技，首轮开始时，你执行额外的回合。</font>",
  ["$baguan20221"] = "哼，你是赢不了的！",
  ["$baguan20222"] = "哼，你自以为，能战胜我？",
  ["$lvbuwuwei20221"] = "到我了！马上，你就要为所做的一切付出代价！",
  ["$lvbuwuwei20222"] = "乱世英雄，舍我其谁！",
  ["$jinghu20221"] = "一切，才刚刚开始。",
  ["$jinghu20222"] = "休要言他，受死吧！",
  ["$jianju2022"] = "退退退，且行罢兵，来日再战！",
  ["$kaiju2022"] = "画戟渴虏血，赤兔闻战鸣！（吕布何在？速与我等决一死战！）",
  ["~sy__lvbu"] = "是吕布败了，关我奉先什么事？",
  ["!sy__lvbu"] = "哼，天下英雄万千，可有吾一合之将？",
}

General:new(extension, "hxgod__doro","god",3,3,General.Female):addSkill("hx__chouka")
Fk:loadTranslationTable{
  ["hxgod__doro"] = "doro",
  ["#hxgod__doro"] = "胜利女神",
  ["cv:hxgod__doro"] = "doro",
  ["designer:hxgod__doro"] = "庆思书",
  ["illustrator:hxgod__doro"] = "doro爱好者",
  ["hx__chouka"] = "抽卡",
  ["#hx__chouka_delay"] = "抽卡",
  [":hx__chouka"] = "持恒技，锁定技，①此技能未对所有其他角色发动过前你不会死亡且体力值护甲及体力上限不会减少且武将牌无法变更且失去此技能后获得之。②一名其他角色使用牌指定你为唯一目标后，你与其依次随机展示牌堆（包括弃牌堆）中的一张牌并根据这两张牌的类型、花色、点数、牌名中相同项的数量执行相应效果："..
"<br>4，该角色更改身份为与你相同然后你的身份获得游戏胜利；"..
"<br>3，该角色与你各加两点体力上限并回满体力；"..
"<br>2，该角色与你交换位置然后你执行一个额外的回合、其摸两张牌；"..
"<br>1，该角色失去体力至一点并可以令除你以外的一名角色将武将替换为随机非神势力的doro（无则替换为标刘备）；"..
"<br>0，该角色立即死亡然后中止当前事件并在另一名角色执行此效果后复活。",
  ["@hx__chouka_count"] = "已抽卡",
}

local zhonghui = General:new(extension, "hxzhaohua__zhonghui", "wei", 4,4)
zhonghui:addSkills{"hx__quanji", "hx__zili" }
zhonghui:addRelatedSkills{"hx__paiyi"}
Fk:loadTranslationTable{
  ["hxzhaohua__zhonghui"] = "合钟会",
  ["#hxzhaohua__zhonghui"] = "意难平的天才",
  ["designer:hxzhaohua__zhonghui"] = "庆思书",
  ["illustrator:hxzhaohua__zhonghui"] = "君桓文化",

  ["hx__quanji"] = "权计",
  [":hx__quanji"] = "出牌阶段结束时或你的牌被其他角色获得后或当你受到1点伤害后，你可以摸一至两张牌，若你摸的牌数为1，则你将至少一张牌置于武将牌上，称为“权”；你每有一张“权”，手牌上限便+1。",
  ["hxzhaohua__zhonghui_power"] = "权",
  ["hx__quanji-1"] = "摸一张牌",
  ["hx__quanji-2"] = "摸两张牌",
  ["#hx__quanji-draw"] = "权计：你可以摸一至两张牌，若你摸牌的牌数为1，则你将至少一张牌置于武将牌上，称为“权”",
  ["#hx__quanji"] = "权计：将至少一张牌置于武将牌上，称为“权” ",

  ["$hx__quanji1"] = "操权弄略，舍小利，而谋大计！",
  ["$hx__quanji2"] = "大丈夫行事，岂较一兵一将之得失？",

  ["hx__zili"] = "自立",
  [":hx__zili"] = "限定技，出牌阶段结束时或你的牌被其他角色获得后或当你受到1点伤害后，若“权”的数量不小于3，你可以回复1点体力并摸两张牌，然后若你：<br/>没有<a href=':hx__paiyi'>〖排异〗</a>，你减1点体力上限并获得之；<br/>有<a href=':hx__paiyi'>〖排异〗</a>，你加1点体力上限。",
  ["$hx__zili1"] = "烧去剑阁八百里，蜀中自有一片天！",
  ["$hx__zili2"] = "天下风流出我辈，一遇风云便化龙。",

  ["hx__paiyi"] = "排异",
  [":hx__paiyi"] = "出牌阶段，你可以移去一张“权”，令一名角色摸x张牌或对至多x名角色造成1点伤害，然后若你的手牌数：<br/>为全场最少且你没有“权”，你重置<a href=':hx__zili'>〖自立〗</a>；<br/>大于“权”的数量，此技能本阶段失效。<br/>（x为“权”数且至少为1）。",
  ["#hx__paiyi_draw"] = "排异：移去一张“权”，令一名角色摸%arg张牌",
  ["#hx__paiyi_damage"] = "排异：移去一张“权”，对至多%arg名角色各造成1点伤害",

  ["$hx__paiyi1"] = "蜀川三千里，皆由我一言决之。",
  ["$hx__paiyi2"] = "顺我者封侯拜将，逆我者斧钺加身。",

  ["~hxzhaohua__zhonghui"] = "这就是……自食恶果的下场吗？",
}

General:new(extension, "hxzhaohua__zhangfei", "shu", 4):addSkills{ "hx__ninan", "hx__zhenshen" }
Fk:loadTranslationTable{
  ["hxzhaohua__zhangfei"] = "逆张飞",
  ["#hxzhaohua__zhangfei"] = "冥冥之中的人",
  ["designer:hxzhaohua__zhangfei"] = "庆思书",

  ["hx__ninan"] = "呢喃",
  [":hx__ninan"] = "锁定技，你因使用或打出而失去牌后，摸一张伤害牌并获得一个“呢喃”直到回合结束，然后若你本回合使用过【杀】，则本回合内你的“呢喃”数不小于你本回合已使用【杀】的次数时你不能使用【杀】。",


  ["hx__zhenshen"] = "真身",
  [":hx__zhenshen"] = "锁定技，你的回合内，你失去不能使用的牌后摸等量张牌并移去所有“呢喃”。",
  ["@hx__ninan-turn"] = "呢喃",
  ["@hx__ninan_slashcount-turn"] = "已使用杀",


  ["$hx__ninan1"] = "敌已中计，待我擒他建功！",
  ["$hx__ninan2"] = "瞒天过海之法，料你也识破不得！",
  ["$hx__zhenshen1"] = "沙场红袍醉绿蚁，且壮豪气干云天！",
  ["$hx__zhenshen2"] = "老贼无谋，吾必擒之！",
  ["~hxzhaohua__zhangfei"] = "悔不听大哥教导！",
}



return extension